const { Router } = require('express')
// 创建一个路由实例
const router = new Router()

router.get('*',(request, response)=>{
    const data = {
        code: '404',
        msg: '网络错误'
    }
    response.end(JSON.stringify(data))
})

module.exports = router
